package cn.iocoder.yudao.module.dine.print.service.open;

import cn.iocoder.yudao.framework.business.basic.service.impl.AbstractService;
import cn.iocoder.yudao.module.dine.print.convert.DinePrintRecordConvert;
import cn.iocoder.yudao.module.dine.print.dao.DinePrintRecordMapper;
import cn.iocoder.yudao.module.dine.print.pojo.po.DinePrintRecord;
import cn.iocoder.yudao.module.dine.print.pojo.vo.DinePrintRecordVO;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

/**
 * <pre>
 * OOoO0OOoO0OOOooo0oOOOO0OOOOO0oooOO0ooOOO0Ooooo0OOOOo0ooooO0OOooo0Ooooo0OOOOO
 * 服务
 * OOoO0OOoO0OOOooo0oOOOO0OOOOO0oooOO0ooOOO0Ooooo0OOOOo0ooooO0OOooo0Ooooo0OOOOO
 * </pre>
 *
 * @author 山野羡民（1032694760@qq.com）
 * @since 2025/08/22
 */
@Service
public class OpenDinePrintRecordService extends AbstractService<DinePrintRecord, DinePrintRecordVO> {
    @Resource
    private DinePrintRecordMapper dinePrintRecordMapper;

    @Override
    public DinePrintRecordMapper getInjectedMapper() {
        return dinePrintRecordMapper;
    }

    @Override
    public DinePrintRecordVO convertToViewObject(DinePrintRecord entity) {
        return DinePrintRecordConvert.INSTANCE.toViewObject(entity);
    }

}
